Got basic authentication and registration done ( still not a secure system )