Login pages implementation

Login pages implementation, initial revision