Basic chat and redirect to requested page after login