modified the datatype from tinyint to integer(4)
basic authentication and layout change