Split Angular JS into modules & Added Dummy Auth

Divided Angular JS functionality into different modules, and implemented
dummy authentication (login and register) capabilities attached to the
authentication form