Using base64 header. Implemented login authentication. Implemented file attachedment