Using $_SESSION[] (or $HTTP_SESSION_VARS[] on older versions of PHP) will make things simpler.
$variable='something';
session_register('variable')
runs the risk of clobbering $variable so that it doesn't contain 'something' any more. But
$_SESSION['variable']='something';
has no such problem.
Also, Yamakazi says
But you can only send hearders in the first line's of your script. And thats the same for session_start();
No, they only need to be called before any content is sent to the browser (they wouldn't be very useful if they had to be on the first line of the script).
Putting session_start() at the very top doesn't hurt, saves having to do it lower down (PHP gives you the option of implicitly putting it at the top of every page), but nor is it necessary.
Here's an idea. Right after the line $statusCheck=check_login(...) put the lines
echo "check_login: statusCheck=$statusCheck";
exit;
And see what your check_login() function is actually returning (the exit is to stop it continuing and probably choking).
And like daveyboy asked, post the rest of check_login - does $user and $password have the values they should (echo $myquery before sending it to the database)?