Added code to redirect to HomeActivity after successful login.