Fixed registration and added link to login page