Added Registration and Login views.
Added register and getuserbyusername methods to database connector
User can regiter.