Starting to work on Libraries

Moved login/logout to account controller.

Need to change logout link to the account controller.