added username availability checking and served bootstrap/jquery from application