Login implemented

Authotization implemented. Session works.