added tests for login, logout, signup and corrected current_user error