Added user login - activation functionality.