Added user activation functionality