Improved Login and Register activities

Signed-off-by: Radu Ungureanu <radu.ungureanu1912@cti.pub.ro>