Made username case insensitive in registration and login. Implemented random image generator.