Register view implemented, connection to database for log in and register working