Login and register fragments basic functionality