Registration completed

Registration now checks if username already exists and if the entered
passwords match
For both fail cases and the successful registration messages are now
displayed
Redirect to profile.php&user=username