improved HMAC Authentication and porting UI to bootstrap3