Login functions

Implemented LoginManger
added login check on page lod to default.aspx
implemented login